@echo off
set path=%cd%\src\lovedna\handler
cd %path%
call :2 1>../../ImportAll.hx
exit
:2
echo package ;
call :test
call :end
goto :eof
:test
for /f "delims=" %%1 in ('dir /s /b')do (call :deal %%1)
goto :eof
:deal
if not %~n1=="" echo import lovedna.handler.%~n1;
goto :eof
:end
echo class ImportAll 
echo {
echo }
goto :eof